﻿
@{
    ViewBag.Title = "添加商城";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<input type="hidden" id="mapRotute" map="map_shopapp" />
<style>
    /*控制文本框长度*/
    
</style>
<div class="title_ding">

    <p id="location">
        当前位置：
        添加小程序商城
    </p>
</div>
<div class="layui">
    <div class="shopmain">
        <div class="layui-card">
           <div class="layui-card-header">添加小程序商城</div>
            <div class="layui-card-body">
                <div class="layui-form" action="">
                    <div class="layui-form-item">
                        <label for="text_shopname" class="layui-form-label">
                            商城名称
                        </label>
                        <div class="layui-input-inline" style="width:50%">
                            <input type="text" id="text_shopname" name="text_shopname" lay-verify="required" class="layui-input" placeholder="请输入商城名称">
                        </div>
                        <div class="layui-form-mid layui-word-aux">
                            <span class="x-red">*</span>
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label for="text_appid" class="layui-form-label">
                            小程序AppID
                        </label>
                        <div class="layui-input-inline" style="width:50%">
                            <input type="text" id="text_appid"  name="text_appid" lay-verify="required" class="layui-input" placeholder="请输入小程序AppID">
                        </div>
                        <div class="layui-form-mid layui-word-aux">
                            <span class="x-red">*</span>
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label for="text_appsecret" class="layui-form-label">
                            小程序秘钥
                        </label>
                        <div class="layui-input-inline" style="width:50%">
                            <input type="text" id="text_appsecret" name="text_appsecret" lay-verify="required" class="layui-input" placeholder="请输入小程序秘钥">
                        </div>
                        <div class="layui-form-mid layui-word-aux">
                            <span class="x-red">*</span>
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label for="text_paymentId" class="layui-form-label">
                            支付商户号
                        </label>
                        <div class="layui-input-inline" style="width:50%"> 
                            <input type="text" id="text_paymentId" name="text_paymentId" lay-verify="required" class="layui-input" placeholder="请输入微信支付商户号">
                        </div>
                        <div class="layui-form-mid layui-word-aux">
                            <span class="x-red">*</span>
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label for="text_paySecret" class="layui-form-label">
                            支付秘钥
                        </label>
                        <div class="layui-input-inline" style="width:50%">
                            <input type="text" id="text_paySecret" name="text_paySecret" lay-verify="required" class="layui-input" placeholder="请输入微信支付秘钥">
                        </div>
                        <div class="layui-form-mid layui-word-aux">
                            <span class="x-red">*</span>
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label for="text_serviceqq" class="layui-form-label">
                            客服QQ
                        </label>
                        <div class="layui-input-inline" style="width:50%">
                            <input type="text" id="text_serviceqq" name="text_serviceqq"  class="layui-input" placeholder="请输入客服QQ,选填">
                        </div>
                       
                    </div>

                    <div class="layui-form-item">
                        <label for="text_servicewx" class="layui-form-label">
                            客服微信
                        </label>
                        <div class="layui-input-inline" style="width:50%">
                            <input type="text" id="text_servicewx" name="text_servicewx"  class="layui-input" placeholder="请输入客服微信,选填">
                        </div>

                    </div>

                    <div class="layui-form-item">
                        <label for="text_servicephone" class="layui-form-label">
                            客服电话
                        </label>
                        <div class="layui-input-inline" style="width:50%">
                            <input type="text" id="text_servicephone" name="text_servicephone" lay-verify="phone" class="layui-input" placeholder="请输入客服电话">
                        </div>
                        <div class="layui-form-mid layui-word-aux">
                            <span class="x-red">*</span>
                        </div>
                    </div>
                    <div class="layui-form-item" style="text-align:center;">
                        <div class="layui-input-block" style="margin:0;">
                            <button class="layui-btn" lay-submit lay-filter="add">提交</button>
                            <button type="reset" id="btnBack" class="layui-btn">返回</button>
                        </div>
                    </div>

                </div>

            </div>
        </div>
    </div>
</div>

<script src="~/scripts/ShopApp/ShopAppAdd.js"></script>
<script>
    ShopAppAddClass.Instance.Init();
</script>